#ifndef INSTANCEWIDGET_H
#define INSTANCEWIDGET_H

#include <QWidget>
#include <QHBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <QDateTime>

class InstanceWidget: public QWidget
{
    Q_OBJECT
public:
    InstanceWidget(QDateTime timestamp, quint64 size);
    QDateTime getTimestamp();
private:
    QDateTime timestamp;
public slots:
    void onInstanceDeleteClicked();
signals:
    void deleteInstance(QDateTime timestamp);
};

#endif // INSTANCEWIDGET_H
